import request from '@/utils/request'

// 查询保洁管理列表
export function listWyClean(query) {
  return request({
    url: '/park/wyClean/list',
    method: 'get',
    params: query
  })
}

// 查询保洁管理详细
export function getWyClean(id) {
  return request({
    url: '/park/wyClean/' + id,
    method: 'get'
  })
}

// 新增保洁管理
export function addWyClean(data) {
  return request({
    url: '/park/wyClean',
    method: 'post',
    data: data
  })
}

// 修改保洁管理
export function updateWyClean(data) {
  return request({
    url: '/park/wyClean',
    method: 'put',
    data: data
  })
}

// 删除保洁管理
export function delWyClean(id) {
  return request({
    url: '/park/wyClean/' + id,
    method: 'delete'
  })
}
